import React from 'react'
import { HashRouter, Switch, Route } from 'react-router-dom'

import Home from 'pages/home'
// import Example from 'pages/example/example'
// import Rules from 'pages/rules/rules'
// import Index from 'pages/index/index'

const Routes = () => (
  <HashRouter>
    <Switch>
      <Route exact path="/" component={Home} />
      <Route exact path="/index" component={Home} />
      <Route exact path="/themePage" component={Home} />
      <Route exact path="/upload" component={Home} />
      {/* <Route exact path="/upload/method" component={Home} /> */}
      <Route exact path="/note" component={Home} />
      {/* <Route exact path="/example" component={Example} /> */}
      {/* <Route exact path="/rules" component={Rules} /> */}
    </Switch>
  </HashRouter>
)
export default Routes
